﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucIcono.ascx.cs" Inherits="wRegPadron.frmOpciones.ucIcono" %>
<%@ Register Assembly="FUA" Namespace="Subgurim.Controles" TagPrefix="cc1" %>
<table width="100%">
    <tr>
        <td class="tdSubTituloVentana" colspan="2" valign="top" align="left">
            <fieldset>
                <legend>
                    <h3>
                        <p style="padding-left:10px;"><asp:Label runat="server" ID="lblTitulo"></asp:Label></p>
                        <p style="padding-left:10px;">
                            <small>
                                <asp:Label runat="server" ID="lblDescripcion"></asp:Label></small></p>
                    </h3>
                </legend>
            </fieldset>
        </td>
    </tr>
    <tr>
        <td>
            <br />
        </td>
    </tr>
    <tr>
        <td align="center">
            <asp:HiddenField ID="hfIdItem" runat="server" />
            <table width="70%">
                <tr>
                    <td align="left" colspan="2" class="muted">
                        Seleccione un elemento del árbol para asignarle un ícono:
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="2">
                        <div style="text-align:left;width:350px;" >
                            <asp:TreeView runat="server" ID="tvMenu" ShowLines="true" OnSelectedNodeChanged="tvMenu_SelectedNodeChanged">
                                <LevelStyles>
                                    <asp:TreeNodeStyle CssClass="text-info"/>
                                    <asp:TreeNodeStyle CssClass="text-success"/>
                                    <asp:TreeNodeStyle CssClass="muted"/>
                                </LevelStyles>
                                <Nodes>
                                </Nodes>
                            </asp:TreeView>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center"><asp:Label runat="server" ID="lblSeleccion" CssClass="text-error"></asp:Label></td>
                </tr>
                <tr>
                    <td class="muted" align="left">
                        Icono:
                    </td>
                    <td align="left">
                        <asp:Panel runat="server" ID="panel1">
                            <asp:FileUpload ID="fuIcono" runat="server" CssClass="btn"/></asp:Panel>
                    </td>
                </tr>
                <tr>
                    <td align="left">
                    </td>
                    <td align="left">
                    </td>
                </tr>
                <tr>
                    <td>
                        <br />
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="2">
                        <asp:Button runat="server" ID="btnGuardar" CssClass="btn" Text="Aceptar"
                            OnClick="btnGuardar_Click" />
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="2">
                        <asp:Label runat="server" ID="lblError" CssClass="text-error"></asp:Label>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
